//
//  YQImageTableViewCell.m
//  EPA--1
//
//  Created by lanou3g on 16/4/23.
//  Copyright © 2016年 刘永庆. All rights reserved.
//

#import "YQImageTableViewCell.h"
#import "YQTalkModel.h"
@interface YQImageTableViewCell ()
@property (weak, nonatomic) IBOutlet UILabel *titleLable;
@property (weak, nonatomic) IBOutlet UIImageView *ImageView1;
@property (weak, nonatomic) IBOutlet UILabel *contentLable;
@property (weak, nonatomic) IBOutlet UIImageView *iconView;
@property (weak, nonatomic) IBOutlet UILabel *uName;

@end
@implementation YQImageTableViewCell

- (void)layoutSubviews
{
    self.titleLable.text = self.model.title;
    [self.ImageView1 sd_setImageWithURL:[NSURL URLWithString:self.model.coverimg]];
    self.contentLable.text = self.model.content;
    [self.iconView sd_setImageWithURL:[NSURL URLWithString:self.model.icon]];
    self.uName.text = self.model.uname;
}
@end
